Switch 開關

M2
M3

Adjacent text label color 相鄰文字標籤顏色

標籤上的文字顏色要保持一致,不管你是否正在點選或使用這個標籤和其他部分。

文字標籤用於表面,輔助文字可使用表面體

States  狀態

1 Enabled 已啟用 2 Hover滑鼠懸停 3 Focus 聚焦 4 Pressed 按下的 5 Disabled已禁用
Element  元素Attribute  屬性Value  值
Track  軌道;追蹤;跟蹤Height  高度32dp
Width  寬度52dp
Outline width  輪廓寬度2dp
Handle  手柄Height (unselected)  高度(未選中)16dp
Height - with icon  高度 - 帶圖示24dp
Height (selected)  高度(選中)24dp
Height (pressed)  高度(按下)28dp
Width (unselected)  寬度(未選中)16dp
Width - with icon  寬度 - 帶圖示24dp
Width (selected)  寬度(選中)24dp
Width (pressed)  寬度(按下)28dp
State layer  狀態層Size  尺寸40dp
Target  目標Size  尺寸48dp
Icon  圖示Size (selected)  尺寸(已選)16dp
Icon  圖示Size (unselected)  尺寸(未選)16dp  16 密度無關畫素

Configurations  配置

1 Without icons 無圖示 2 Icon on selected switch 選中開關上的圖示 3 Icon on selected andunselected switch選中與未選中開關上的圖示